package com.waitingresult.log.annocation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * All right reserved,Designed By WangShuai
 *
 * @author : WangShuai
 * @version : V1.0
 * @ClassName : TLog
 * @Description :
 * @date : 2021/9/9 10:52
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface TLog {

    //TODO  希望通过这个注解,实现AOP的动态异步的 日志管理.

    String value() default "";

    boolean request() default true;

    boolean response() default true;

    boolean exception() default true;

}
